package com.samoiloff.util.events {
	import flash.events.Event;

	/**
	 * @author Damirr
	 */
	public class ArrItemEvent extends Event {
		
		public static const ITEM_SET		: String = "itemSet";
		public static const ITEM_REMOVE		: String = "itemRemove";
		public static const SOURCE_CHANGE	: String = "sourceChange";
		public static const ITEM_ADD		: String = "itemAdd";
		
		private var _item	:Object;
		
		public function ArrItemEvent(type: String, item:Object = null) {
			super(type);
			_item = item;
		}
		public function get item():Object {
			return _item;
		}
		
		override public function clone():Event {
			return new ArrItemEvent(type, item);
		}
		
	}
}
